package haiyangwangwork.day01.homework;

public class Main {
    public static void main(String[] args) {
        Soldier s1=new Soldier("squad leader","bob","investigation");

        Soldier s2=new Soldier("corporal","Tom","cooker");

        Soldier s3=new Soldier("basic private","Justin","shoot");

        Soldier s4=new Soldier("investigate","Kim","fun run");

        Soldier s5=new Soldier("air force","Robin","strength");

        Soldier s6=new Soldier("colour sergeant","Ted","stormtrooper");

        Soldier s7=new Soldier("navy","Jake","investigation");

        Soldier s8=new Soldier("leader","Jerry","cooker");

        Soldier s9=new Soldier("investigate","Grant","investigation");

        Soldier s10=new Soldier("squad","Alex","snipe");
        Army army=new Army();
        army.addSoldier(s1,0);
        army.addSoldier(s2,1);
        army.addSoldier(s3,2);
        army.addSoldier(s4,3);
        army.addSoldier(s5,4);
        army.addSoldier(s6,5);
        army.addSoldier(s7,6);
        army.addSoldier(s8,7);
        army.addSoldier(s9,8);
        army.addSoldier(s10,9);
        army.listAllSoldier();
    }
}
